'Declaration Public Overloads Function FindByPrimaryKey( _ ByVal key() As System.Object _ ) As System.Integer
public System.int FindByPrimaryKey( System.object[] key )
Parameters
- key
- An array of primary key values. The length and order of values of the array must be the same as in the PrimaryKey property. If the System.Type of some array value differs from the C1ViewColumn.DataType of the corresponding primary key column then this value will be converted to the column's target type automatically. In the case where such a conversion is impossible, an exception will be raised.
Return Value
An index of found row or -1 if row has not been found.